#include <stdio.h>
#include <time.h>
#include <sys/time.h>

unsigned long long time_usec()
{
    struct timeval tv;
    gettimeofday(&tv, NULL);
    return tv.tv_sec*1000000 + tv.tv_usec;
}

int main()
{
	printf("%lld.%06lld\n", time_usec()/1000000, time_usec()%1000000);
//	printf("useconds: %lld\n", time_usec());
}
